/** 
 * @file RobotData.cpp
 * @author Kevin Vancauwenbergh,Stijn Frans
 * @brief Defines the functions declared in RobotData.h
 */
#include "RobotData.h"


RobotData::RobotData(int x,int y,int a,int bx,int by,int gx, int gy)
{
	robotX = x;
	robotY = y;
	angle = a;

	blikjeX = bx;
	blikjeY = by;

	garageX = gx;
	garageY = gy;
}
RobotData::RobotData() {
	robotX = robotY = angle = 0;
	blikjeX = blikjeY = 0;
	garageX = garageY = 0;
}

void RobotData::FillWithDummyValues() {
	robotX = 120;
	robotY = 100;
	angle = 45;

	blikjeX = 30;
	blikjeY = 70;

	garageX = 10;
	garageY = 10;
}

int RobotData::get_robotX()
{ 
	return robotX; 
}
int RobotData::get_robotY()
{ 
	return robotY; 
}
void RobotData::set_robotX(int x) 
{ 
	robotX= x; 
}
void RobotData::set_robotY(int y) 
{ 
	robotY = y; 
}
int RobotData::get_angle() 
{ 
	return angle; 
}
void RobotData::set_angle(int a) 
{ 
	angle = a;
}
void RobotData::set_robot(int x, int y, int a) 
{ 	
	robotX = x;
	robotY = y; 
	angle = a;
}

int RobotData::get_blikjeX()
{ 
	return blikjeX; 
}
int RobotData::get_blikjeY()
{ 
	return blikjeY; 
}

void RobotData::set_blikjeX(int bx)
{ 
	blikjeX = bx; 
}
void RobotData::set_blikjeY(int by)
{ 
	blikjeY = by; 
}

void RobotData::set_blikje(int bx,int by)
{ 
	blikjeX = bx;
	blikjeY = by; 
}

int RobotData::get_garageX()
{ 
	return garageX; 
}
int RobotData::get_garageY()
{ 
	return garageY; 
}

void RobotData::set_garageX(int gx)
{ 
	garageX = gx; 
}
void RobotData::set_garageY(int gy)
{ 
	garageY = gy; 
}

void RobotData::set_garage(int gx,int gy)
{ 
	garageX = gx;
	garageY = gy; 
}

void RobotData::print()
{ 
	cout 	<< "Robot:" << endl << "pos x:"  << robotX << endl 
			<< "pos y:" << robotY << endl << "angle:" << angle << endl
	<< "Blikje:" << endl << "pos x:"  << blikjeX << endl 
			<< "pos y:" << blikjeY << endl
	<< "garage:" << endl << "pos x:"  << garageX << endl 
			<< "pos y:" << garageY << endl;
}

